package ink.lovejinhu.swardToOffer;

import java.util.ArrayList;

/**
 * @Author: jin
 * @Date: 2021/9/1 22:19
 * @Version: V1.0
 * @Slogan: Great people are not born great, but show their greatness in the process of growing up
 **/
public class Offer_029 {
    /**
     * 顺时针打印矩阵
     * 二维举证双指针，是四个指针，  left right   bottom     top
     *
     * @param matrix
     * @return
     */
    public int[] spiralOrder(int[][] matrix) {
        ArrayList<Integer> res = new ArrayList<>();
        for (int i = 0; i < matrix.length; i++) {
            for (int j = 0; j < matrix[i].length; j++) {


            }

        }
        return null;
    }
}
